﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PersonalInitPwd.aspx.cs" Inherits="PersonalInitPwd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>用户重置密码</title>
    <link href="/css/cssreset.css" rel="stylesheet" type="text/css" />
    <link href="/css/top.css" rel="stylesheet" type="text/css" />
    <link href="/css/Selector.css" rel="stylesheet" type="text/css" />
    <link href="/css/jpage.css" rel="stylesheet" type="text/css" />
    <link href="/css/jqModal.css" rel="stylesheet" type="text/css" />
    <link href="/css/validator.css" type="text/css" rel="stylesheet" />     
    <link href="/css/AutoComplete.css" rel="stylesheet" type="text/css" />
    <link href="/css/house.tabs.css" rel="stylesheet" type="text/css"/>
    
    <script src="/js/JQuery/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="/js/Plug/Selector.min.js" type="text/javascript"></script>
    <script src="/js/Plug/datepicker/WdatePicker.js" type="text/javascript"></script>
    <script src="/js/Plug/ui.tabs.pack.js" type="text/javascript"></script>
    <script src="/js/Plug/formValidator/formValidator.js" type="text/javascript"></script>
    <script src="/js/Plug/formValidator/formValidatorRegex.js" type="text/javascript"></script>
    <script src="/js/Plug/onload.js" type="text/javascript"></script>
    
    
    <script src="/js/JQuery/jquery.paginator-min_jso.js" type="text/javascript"></script>
    <script src="/js/JQuery/jqModal.js" type="text/javascript"></script>
    <script src="/js/JQuery/jqDnR.js" type="text/javascript"></script>
    <script src="/js/JQuery/jquery.autocomplete.min.js" type="text/javascript"></script>
    
    <script src="/js/common.js" type="text/javascript"></script>

    <script src="/js/Chenxin/Chenxin-common-info.js" type="text/javascript"></script>
    <script src="/js/Chenxin/Chenxin-core-debug.js" type="text/javascript"></script>
    
    <script src="/js/Chenxin/form/Chenxin.UI.ChangePwd.js" type="text/javascript"></script>
    
    
    <script type="text/javascript" language="javascript">
        $(document).ready(function(){
            var ch=new Chenxin.UI.PersonalPwdChange({
                actionUrl:'service/personalinitpwd.ashx',
                type:'numal',
                id:'pip',
                initEvent:function(){
		            var _this=this;
		            var filter='#'+this.id;
		            $(filter+'_Save').click(function(){	
		                _this.op='changepwd';	
			            _this.save();
		            });
		            $(filter+'_Reset').click(function(){			
			            _this.reset();
		            });
		            $(filter+'_CreateNewPwd').click(function(){
			            _this.op='changepwd';
			            _this.createNewPwd();			
		            });	
                },
                saveSucc:function(){
                    ch.handleLogin();
                },
                
                afterGetFormJson:function(model){
                    model.userid=Chenxin.Fn.getQueryString('userid');
	                Chenxin.apply(this.additionalParam,model); 
                }
            });
        })
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    
        <div style="border: 1px solid #c4d5e0; height: 200px;width:498px; position:absolute;top:50%;left:50%; margin-left:-249px; margin-top:-160px;" id="pip">
        <div style=" height:30px; line-height:30px; background:#f3f8fe; padding-left:10px;"><h2>密码重置</h2></div>
        <table border="0" cellpadding="0" cellspacing="0" style="width:100%; height:120px;">
                <tr>
                    <td colspan="2" style="text-align:right; width:100px; height:30px;"></td>
                </tr>
                <tr>
                    <td style="text-align:right; width:100px; height:30px;">原密码：</td>
                    <td>
                        <input id="pip_oldpassword" name="oldpwd" class="inputbox_n fl" type="text"  style="width:160px;" />
                        <div id="pip_oldpasswordTip" style="float: left; margin-left: 5px; width: 90; height: 26px; line-height: 26px; text-align: left;" class="fl"></div>
                    </td>
                </tr>
                <tr>
                    <td style="text-align:right; width:100px;">新密码：</td>
                    <td>
                        <input readonly="readonly" name="newpwd" class="inputbox_n fl" type="text"  style="width:160px;" />
                        <input type="button" class="btn_pon_2" style="margin-left:5px;" value="生成新密码" id="pip_CreateNewPwd"/>
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td align="right">
                        
                    </td>
                </tr>
            </table>
            <div style="margin-right:25px; float:right;">
                            <a id="pip_Save" class="btn_n fl" href="#"><span>确定</span></a>
                            <a id="pip_Reset" class="btn_n fl" href="#"><span>重置</span></a>
                        </div>
        </div>
        </div>
    </form>
</body>
</html>
